package com.business.dynamic.service;


import com.baomidou.mybatisplus.plugins.Page;
import com.business.common.dto.R;
import com.business.common.utils.PageUtils;
import com.business.dynamic.entity.DynamicComment;

/**
 * 动态评论表:业务接口类
 * @author chenjiehong
 * @date 2019-11-29 15:15:38
 * @since 1.0
 */
public interface DynamicCommentService {
    
    /**
     * 新增动态评论表
     * 
     * 
     * @param dynamicComment
     * @date 2019-11-29 15:15:38
     */
    Integer add(DynamicComment dynamicComment);

    /**
     * 删除评论
     * @param id
     * @return
     */
    Integer delete(Integer id);

    
    /**
     * 分页查询动态评论表
     * 
     * 
     * @param page
     * @param dynamicId
     * @param userId
     * @date 2019-11-29 15:15:38
     */
    PageUtils queryPage(Page<DynamicComment> page, Integer dynamicId, Integer userId);


}